<!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta  charset="utf-8">
<meta  name="viewport"  content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>一元夺宝</title>
{php echo register_jssdk();}
<link  rel="stylesheet"  href="../addons/feng_duobao/template/css/css.css">
<link  rel="stylesheet"  href="../addons/feng_duobao/template/css/duobao.css">
<script  src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js" type="text/javascript"></script>
</head>
<body  style="background:#f6f6f8;">
<section  class="top_bar"> 
	<a  href="javascript:history.back(-1);"   title="返回"  class="back"><i  class="b_arr"></i>返回</a>
	<a  href="{php echo $this->createMobileUrl('index')}"  title="首页"  class="home">首页</a>
	<h2  id="oneNavTitle">个人中心</h2>
</section>
<section  class="wrap">
  <section  class="white_box">
    <dl  class="user_info">
      <dt  class="user_head"><img  id="oneUserImg"  src="{$people['avatar']}"  alt=""></dt>
      <dd  class="user_detail"> <strong  id="oneUserNick"  class="user_name mg_top">{$people['nickname']}</strong><p></p>
        <p  class="user_sum"><strong  id="oneUserChances"  class="chongzhi">余额支持全场通用</strong><strong> 余额:￥{$result['credit2']}元</strong></p>
		
      </dd>
    </dl>
  </section>
  <!--section  class="nav_bar">
   <a  id="oneChangeList"  href="/app/index.php?i=15&c=entry&p=recharge&openid=o4QB_woh1JLZIi46Ivwzy-2-mXNw&do=member&m=ewei_shop"  class="item"> <strong  class="item_txt">余额：￥{$result['credit2']}</strong><span  class="rec_num">马上充值</span></a>
  </section-->
  <section  class="nav_bar">
   <a  id="oneChangeList"  href="{php echo $this->createMobileUrl('prodata')}"  class="item"> <strong  class="item_txt">个人资料</strong><span  class="rec_num">收货地址修改</span></a>
  </section>
  <section  class="nav_bar">
    <a  id="onePayList"  href="{php echo $this->createMobileUrl('myorder')}"  class="item"> <strong  class="item_txt">夺宝记录</strong><span  class="rec_num">查看是否中奖</span> </a>
  </section>
  <section  class="nav_bar">
  <a  href="{php echo $this->createMobileUrl('introduction')}" class="item"> <strong  class="item_txt">玩法介绍</strong><span  class="rec_num">新手必读</span> </a>
  </section>
  <section  class="nav_bar">
    <a  id="oneAddrInfo"  href="{php echo $this->createMobileUrl('prize')}"  class="item"> <strong  class="item_txt">获得的商品</strong><span  class="rec_num">{$people['nickname']}的奖品</span></a>

</section>
   <section  class="nav_bar">
  <a onclick="alert('晒单功能开发中...敬请期待！') " href="#" class="item"> <strong  class="item_txt">我要晒单</strong><span  class="rec_num">开发中...</span> </a>
  </section>
  

</body>
<script type="text/javascript">
wx.ready(function () {
  var shareData = {
    title: "{$share_data['share_title']}",
    desc: "{$share_data['share_desc']}",
    link: "{$to_url}",
    imgUrl: "{$_W['attachurl']}{$share_data['share_image']}",
  };
//分享朋友
  wx.onMenuShareAppMessage({
      title: shareData.title,
      desc: shareData.desc,
      link: shareData.link,
      imgUrl:shareData.imgUrl,
      trigger: function (res) {
      },
      success: function (res) {
        window.location.href =adurl;
      },
      cancel: function (res) {
      },
      fail: function (res) {
        alert(JSON.stringify(res));
      }
  });
  //朋友圈
  wx.onMenuShareTimeline({
      title: shareData.title+"---"+shareData.desc,
      link: shareData.link,
      imgUrl:shareData.imgUrl,
      trigger: function (res) {
      },
      success: function (res) {
        window.location.href =adurl;
      },
      cancel: function (res) {
      },
      fail: function (res) {
        alert(JSON.stringify(res));
      }
  });   

});
</script>
	
<div class="g-footer">
    <div class="g-wrap">
        <p style="margin-bottom: 7px;border-bottom: #DCDCDC 1px dotted;padding: 2px 6px;">特别说明：每期夺宝完成后，系统将自动进入下一期<br />参与次数越多，中奖的几率会越大哦！</p>
            <ul class="m-state f-clear">
                <li><i class="ico ico-state ico-state-1"></i>公平公正公开</li>
                <li><i class="ico ico-state ico-state-2"></i>正品保证</li>
                <li class="last"><i class="ico ico-state ico-state-3"></i>权益保障</li>
            </ul>
        <p class="m-link">
            <!--a href="{php echo $this->createMobileUrl('introduction')}">什么是一元夺宝？</a>
            <!--a href="http://1.163.com/client?from=app_wapfooter" target="_blank" style="color:#0079fe">下载APP</a-->
        </p>
        <!--p class="m-copyright">ICP证浙B2-20090185 <span>网易公司版权所有 © 1997-2015</span></p-->
    </div>
</div>			
		</div>
  	</section>
</section>
<style>
.chongzhi
{
color: #FFFFFF;
background-color: #DF144D;
}

      
<script type="text/javascript">
wx.ready(function () {
	var shareData = {
		title: "{$share_data['share_title']}-一元赢iPhone6S plus！",
		desc: "{$share_data['share_desc']}",
		link: "{$to_url}",
		imgUrl: "{$_W['attachurl']}{$share_data['share_image']}",
	};
//分享朋友
	wx.onMenuShareAppMessage({
	    title: shareData.title,
	  	desc: shareData.desc,
	  	link: shareData.link,
	  	imgUrl:shareData.imgUrl,
	  	trigger: function (res) {
	  	},
	  	success: function (res) {
	    	window.location.href =adurl;
	  	},
	  	cancel: function (res) {
	  	},
	  	fail: function (res) {
	    	alert(JSON.stringify(res));
	  	}
	});
	//朋友圈
	wx.onMenuShareTimeline({
	  	title: shareData.title+"---"+shareData.desc,
	  	link: shareData.link,
	  	imgUrl:shareData.imgUrl,
	  	trigger: function (res) {
	  	},
	  	success: function (res) {
	    	window.location.href =adurl;
	  	},
	  	cancel: function (res) {
	  	},
	  	fail: function (res) {
	    	alert(JSON.stringify(res));
	  	}
	});   

});
//dijiqi 第几期，qishu：共几期，shengyu:剩余次数，url：夺宝页面
//function duobao(dijiqi,qishu,shengyu,url)
    //{
	    //if((dijiqi-qishu)<=0/*&&parseInt(shengyu)>0*/)
		//{
            //location = url;
       // }
        //else
       // {
           // alert('哎呀，亲来晚了！本轮期数或参与人数已满，请下次再来参与！');
       // }
 //   }
</script>
</html>